﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ywxt.Common;

namespace DB_NH.DB_Model.ywxt.Project
{
    public class RefProjectAndPlan
    {
        /// <summary>
        /// 记录ID
        /// </summary>
        public virtual string r_id { get; set; }

        /// <summary>
        /// 是否有效
        /// </summary>
        public virtual int is_valid { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual DateTime create_date { get; set; }

        /// <summary>
        /// 所属项目
        /// </summary>
        public virtual t_project Project { get; set; }

        /// <summary>
        /// 所属计划
        /// </summary>
        public virtual Project.ProjectPlan Plan { get; set; }

        public RefProjectAndPlan()
        {
            r_id = Common.NewID();
            is_valid = 1; 
            create_date = DateTime.Now;
        }
    }
}
